SOURCES=$(wildcard *.cpp)
OBJECTS=$(patsubst %.cpp, %.o, $(SOURCES))

.phony : default clean

default:$(OBJECTS)

$(OBJECTS): %.o:%.cpp
	$(CC) $(FLAG) $(INCLUDE) -c $< -o $@ -fPIC

clean:
	rm -rf *.o